public class Leader extends Handler{
    @Override
    public void process(int info) {
        if(info>0&&info<11){
            System.out.println("Leader处理");
        }
        else{
            nextHandler.process(info);
        }
    }
}
